package cn.zlp.pet.service;


import cn.zlp.basic.service.IBaseService;
import cn.zlp.pet.domain.Pet;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IPetService extends IBaseService<Pet> {

    /**
     * 上线
     * @param ids
     */
    void onsale(List<Long> ids);

    /**
     * 下线
     * @param ids
     */
    void offsale(List<Long> ids);

    /**
     * 立即领养
     * @param id
     * @param request
     */
    void adopt(Long id, HttpServletRequest request);

    /**
     * 判断美女是否为店铺管理员
     * @param request
     */
    void isShopAdmin(HttpServletRequest request);

    /**
     * 宠物新增
     * @param pet
     * @param request
     */
    void add(Pet pet, HttpServletRequest request);
}
